/**
 * 定义首页需要的接口函数
 */

import request from "@/utils/request";

/**
 * 获取首页滚动条的数据
 * @returns {AxiosPromise}
 */
export const findBrand = (limit) => {
    return request("/home/brand", "get", { limit });
};

/**
 * 获取广告图
 * @returns Promise
 */
export const findBanner = () => {
    return request("/home/banner", "get");
};
